getZoneFromWGS84Centroid

Module: dggal
Class: DGGRS

DGGRSZone getZoneFromWGS84Centroid(int level, const GeoPoint centroid)

Description

Return the DGGRS zone within which the specified coordinates (in WGS84 geodetic coordinates) fall

Parameters

level  int  The refinement level of the zone to return 
centroid  const GeoPoint  The geodetic position for which to return the zone within which it falls 
 
Return Value DGGRSZone  The zone in which the position falls 

Example

ISEA3H isea3H { };
DGGRSZone zone = isea3H.getZoneFromCRSCentroid(16, { 45, -75 });

Remarks


This method will likely be renamed to reflect the fact that the specified position no longer needs to be the centroid of a zone.